package io.renren.service;


import io.renren.common.service.CrudService;
import io.renren.dto.ReservationDto;
import io.renren.dto.ReservationmDTO;
import io.renren.entity.ReservationmEntity;

import java.util.Map;

/**
 * ${comments}
 *
 * @author Sen 524227263@qq.com
 * @since 1.0.0 2024-05-29
 */
public interface ReservationmService extends CrudService<ReservationmEntity, ReservationmDTO> {

    void reservation(String traderMOID, ReservationDto dto);

    Map<String, Object> myReservationList(String traderMOID);

    void cancelReservation(String traderMOID, String reservationMoId, String cancelReason);
}